package com.qidian.buy.util;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 * @date 2023/8/1 14:56
 */
public interface QdConstant {
    // 响应的Result中的code值
    int RESULT_CODE_OK = 200;
    int RESULT_CODE_FAIL = 500;
    int RESULT_CODE_DUPLICATE = 300;

    // 性别的值
    int GENDER_LADY = 1;
    int GENDER_MAN = 2;
    int GENDER_UNKNOWN = 3;

    // Order的status
    int ORDER_STATUS_NEW = 1;
    int ORDER_STATUS_PROGRESS = 2;

    // 数据状态
    int DATA_STATUS_DEFAULT = 1;
    int DATA_STATUS_NORMAL = 1;
    int DATA_ABANDONMENT = 2;
    int DATA_DISABLED = 3;
    int DATA_DELETED = 99; // 数据的删除状态


    // 操作日志中的操作类型
    int OPTION_TYPE_SAVE = 1;
    int OPTION_TYPE_UPDATE = 2;
    int OPTION_TYPE_DELETE = 3;
    // 操作成功和失败的常量
    int OPTION_SUC = 1;
    int OPTION_FAL = 2;
}
